package com.xu.dao;

import com.xu.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentDao {
    List<Student> selectAllStudents();
    List<Student> selectStudentById(int id);
    int insertStudent(Student student);
    int updateStudent(Student student);
    int deleteStudentById(@Param("stuId") int id);

}
